package com.xc.hotelmgr.datapusherali.pojo.mybatis;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class HtDailyRoom implements Serializable {
	private static final long serialVersionUID = 1L;
	@JSONField(serialize = false)
	private Long id;
	/** 逻辑房型编码 */
	@JSONField(serialize = false)
	private Long rpCode;
	/** 日期 */
	@JSONField(name = "date")
	private String priceDate;
	/** 价格 */
	@JSONField(name = "price")
	@Builder.Default
	private Integer price=0;
	/** 库存 */
	@Builder.Default
	@JSONField(name = "quota")
	private Integer saleNum = 0;

	@Builder.Default
	@TableField(exist = false)
	private int status = 1;

}